<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<ui:composition
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core">
    Ajouter une réponse :
    
    <br />
    
        <div id="addReply">
            <h3>Ajouter un nouveau post :</h3>

            <h:form>

                <h:panelGrid columns="2">
                <h:outputLabel value="Sujet :" />
                <h:inputText id="messageObject" value="#{obiwankenobean.title}"/>

                <h:outputLabel value="Votre texte :" />
                <h:inputText id="textValue" value="#{obiwankenobean.content}"/>

                <h:commandButton action="#{obiwankenobean.createNewReply()}" value="Ajouter!" />
                <h:commandButton action="" value="Retour à l'index!" />

                </h:panelGrid>

            </h:form>
        </div>

</ui:composition>
